//@flow

import { RequestParamsBaseModal } from "../baseModal/requestParamsBaseModal";

type Props = {
    account	        :string,
    password	    :string,
}


export class AppLoginModal extends RequestParamsBaseModal <Props,{}>{

    _account: string = "";
    get account(): string {
        return this._account;
    }
    set account(value: string) {
        this._account = value;
    }

    _password: string = "";
    get password(): string {
        return this._password;
    }
    set password(value: string) {
        this._password = value;
    }

    constructor(props:Props){
        super(props)

        this._account = props.account;
        this.password = props.password;
    }

}